package com.dc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dc.common.ResponseResultVO;
import com.dc.entity.FireWorkOrder;
import com.dc.entity.ro.FireWorkOrderRO;

import javax.servlet.http.HttpServletResponse;

public interface FireWorkOrderService extends IService<FireWorkOrder> {
    // TODO 对接设备之后，设备报警生成工单接口,参数待定
    ResponseResultVO automaticFireWorkOrder();

    ResponseResultVO insertFireWorkOrder(FireWorkOrderRO ro);

    ResponseResultVO updateFireWorkOrder(FireWorkOrderRO ro);

    ResponseResultVO deleteFireWorkOrder(String id);

    ResponseResultVO selectFireWorkOrderList(FireWorkOrderRO ro);

    void fireWorkOrderRecordExport(HttpServletResponse response, FireWorkOrderRO ro);

}
